﻿using System.Collections.Generic;
using OpenCompiler.Scanning;

namespace OpenCompiler
{
	public class ResultManager 
	{
		public static readonly ResultManager Instance = new ResultManager();

		private readonly List<Result> _errors;
		private readonly List<Result> _warnings;


		private ResultManager()
		{
			this._errors = new List<Result>();
			this._warnings = new List<Result>();
		}

		public void Reset()
		{
			this._errors.Clear();
			this._warnings.Clear();
		}

		public void Error(string error, Token token)
		{

		}

		public void Warning(string warning, Token token)
		{
			
		}
	}
}
